package org.feng.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * 日志平台枚举
 *
 * @author : FengShuai
 * @since : 2024/7/8 11:34
 */
public enum LogPlatform implements IEnum<String> {
    SYSTEM("system", "系统后台");
    private final String code;
    private final String name;

    LogPlatform(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }
    @Override
    public String getValue() {
        return this.code;
    }
}
